package cc.woori.mobile.podcast;

import java.util.ArrayList;
import java.util.List;

public enum Subcategory {
    ;
    private Category category;
    private String subcategory;

    public static List<Subcategory> getListByType(Category cat) {
	Subcategory[] subcategories = Subcategory.values();
	ArrayList<Subcategory> rslt = new ArrayList<Subcategory>();
	for (int a = 0; a < subcategories.length; a++) {
	    if (subcategories[a].equals(cat)) {
		rslt.add(subcategories[a]);
	    }
	}
	return rslt;
    }
}
